package com.huang.auth.entity.request;

import com.huang.entity.request.ParamCheck;
import com.huang.entity.request.RPage;
import lombok.Data;

import java.util.Objects;

/**
 * @Author HuangShen
 * @Date 2022/1/29 19:05
 * @Describe 角色查询请求参数
 */
@Data
public class AuthRoleQueryRequest implements ParamCheck {
    private RPage page;
    private String roleCode;

    @Override
    public void check() {
        if (Objects.isNull(page)) {
            page = new RPage();
        }

    }
}
